﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CriarCursoContent.aspx.cs" Inherits="S2B_SCL.Paginas.CriarCursoContent" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <asp:Label ID="lblEmpresa" runat="server" ></asp:Label></br>
        <asp:Label ID="lblCadastraCurso" runat="server" Text="Criar Cursos"></asp:Label>
        <br />
        <br />
        <asp:Label ID="lblNomeCurso" runat="server" Text="Nome do Curso:"></asp:Label>
&nbsp;<asp:TextBox ID="txtNomeCurso" runat="server"></asp:TextBox>
        <br />
        <br />
        <asp:Label ID="lblArea" runat="server" Text="Área:"></asp:Label>
&nbsp;<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" 
            DataTextField="Area" DataValueField="Area">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
            SelectCommand="SELECT [IDArea], [Area] FROM [TBArea] ORDER BY [Area]">
        </asp:SqlDataSource>
        <br />
        <br />
        <asp:Label ID="lblEstado" runat="server" Text="Estado: "></asp:Label>
        <asp:DropDownList ID="ddlEstado" runat="server" DataSourceID="SqlDataSource2" 
            DataTextField="NomeEstado" DataValueField="NomeEstado" 
            style="height: 22px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
            SelectCommand="SELECT [NomeEstado] FROM [TBEstado] ORDER BY [NomeEstado]">
        </asp:SqlDataSource>
        <br />
        <br />
        <asp:Label ID="lblValor" runat="server" Text="Valor:"></asp:Label>
&nbsp;<asp:DropDownList ID="ddlValor" runat="server" DataSourceID="SqlDataSource3"
            DataTextField="PagoGratis" DataValueField="PagoGratis">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
            SelectCommand="SELECT [PagoGratis] FROM [TBPagoGratis] ORDER BY [PagoGratis]">
        </asp:SqlDataSource>
        <br />
        <br />
        <asp:Label ID="lblDuracaohoras" runat="server" Text="Duração em horas: "></asp:Label>
        <asp:TextBox ID="txtDuracaoHoras" runat="server"></asp:TextBox>
        <br />
        <br />
        <asp:Label ID="lblLinkCurso" runat="server" Text="Link do Curso:"></asp:Label>
&nbsp;<asp:TextBox ID="txtLinkCurso" runat="server"></asp:TextBox>
    
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" BorderColor="#FF9900" BorderStyle="Outset" />
    
    </div>
</asp:Content>
